load("@rules_cc//cc:cc_test.bzl", "cc_test")

cc_test(
    name = "crc_test",
    srcs = ["crc_test.cpp"],
    local_defines = select({
        "@platforms//os:windows": ["BOOST_ALL_NO_LIB"],
        "//conditions:default": [],
    }),
    deps = [
        "@boost.config",
        "@boost.core",
        "@boost.crc",
        "@boost.integer",
        "@boost.timer",
    ],
)

cc_test(
    name = "crc2_test",
    srcs = ["crc_test2.cpp"],
    deps = [
        "@boost.core",
        "@boost.crc",
        "@boost.integer",
    ],
)

cc_test(
    name = "issue25_test",
    srcs = ["issue25_test.cpp"],
    deps = [
        "@boost.config",
        "@boost.crc",
    ],
)

cc_test(
    name = "pr15_test",
    srcs = ["pr15_test.cpp"],
    deps = [
        "@boost.core",
        "@boost.crc",
    ],
)

cc_test(
    name = "quick_test",
    srcs = ["quick.cpp"],
    deps = [
        "@boost.crc",
    ],
)

cc_test(
    name = "uint_t_test",
    srcs = ["uint_t_test.cpp"],
    deps = [
        "@boost.core",
        "@boost.crc",
        "@boost.integer",
    ],
)
